package com.link_with_health.model;

public class AdminLogEntity {
    private Long logId;
    private Integer operatorId;
    private String operationType;
    private String object;
    private String backup;

    public AdminLogEntity() {
    }

    public AdminLogEntity(Long logId, Integer operatorId, String operationType, String object, String backup) {
        this.logId = logId;
        this.operatorId = operatorId;
        this.operationType = operationType;
        this.object = object;
        this.backup = backup;
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public String getBackup() {
        return backup;
    }

    public void setBackup(String backup) {
        this.backup = backup;
    }

    @Override
    public String toString() {
        return "AdminLogEntity{" +
                "logId=" + logId +
                ", operatorId=" + operatorId +
                ", operationType='" + operationType + '\'' +
                ", object='" + object + '\'' +
                ", backup='" + backup + '\'' +
                '}';
    }
}
